package com.example.wechat.model;

public class SettingItem {
    private String title;
    private String subtitle;
    private boolean isHeader;
    private int iconResId;

    public SettingItem(String title, String subtitle, boolean isHeader) {
        this.title = title;
        this.subtitle = subtitle;
        this.isHeader = isHeader;
        this.iconResId = 0;
    }

    public SettingItem(String title, String subtitle, boolean isHeader, int iconResId) {
        this.title = title;
        this.subtitle = subtitle;
        this.isHeader = isHeader;
        this.iconResId = iconResId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSubtitle() {
        return subtitle;
    }

    public void setSubtitle(String subtitle) {
        this.subtitle = subtitle;
    }

    public boolean isHeader() {
        return isHeader;
    }

    public void setHeader(boolean header) {
        isHeader = header;
    }

    public int getIconResId() {
        return iconResId;
    }
} 